STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
default_delete< _Ty[]> Struct Template Reference

Public Member Functions

constexpr default_delete () _NOEXCEPT=default
 
template<class _Uty , class = typename enable_if<is_convertible<_Uty(*)[], _Ty(*)[]>::value, void>::type>
 default_delete (const default_delete< _Uty[]> &) _NOEXCEPT
 
template<class _Uty , class = typename enable_if<is_convertible<_Uty(*)[], _Ty(*)[]>::value, void>::type>
void operator() (_Uty *_Ptr) const _NOEXCEPT
 

Constructor & Destructor Documentation

template<class _Ty >
constexpr default_delete< _Ty[]>::default_delete ( )
default
template<class _Ty >
template<class _Uty , class = typename enable_if<is_convertible<_Uty(*)[], _Ty(*)[]>::value, void>::type>
default_delete< _Ty[]>::default_delete ( const default_delete< _Uty[]> &  )
inline
1621  { // construct from another default_delete
1622  }

Member Function Documentation

template<class _Ty >
template<class _Uty , class = typename enable_if<is_convertible<_Uty(*)[], _Ty(*)[]>::value, void>::type>
void default_delete< _Ty[]>::operator() ( _Uty *  _Ptr) const
inline
1628  { // delete a pointer
1629  static_assert(0 < sizeof (_Uty),
1630  "can't delete an incomplete type");
1631  delete[] _Ptr;
1632  }

The documentation for this struct was generated from the following file: